<?php
	/**
	 * Global configuration for JANUS Facebook application
	 */

	/**
	 * Base URI for the JANGLE core
	 * @var string
	 */
	$GLOBALS['JANGLE']['BASE_URI'] = 'http://libapps-dev.leedsmet.ac.uk/';
	
	/**
	 * Connector to use for this application
	 * @var string
	 */
	//$GLOBALS['JANGLE']['CONNECTOR'] = 'janus';
	$GLOBALS['JANGLE']['CONNECTOR'] = 'openbiblio';

	// Jangle relationship strings
	$GLOBALS['JANGLE']['RELATIONSHIP']['ACTOR'] = 'http://jangle.org/vocab/Entities#Actor';
	$GLOBALS['JANGLE']['RELATIONSHIP']['ITEM'] = 'http://jangle.org/vocab/Entities#Item';
	$GLOBALS['JANGLE']['RELATIONSHIP']['RESOURCE'] = 'http://jangle.org/vocab/Entities#Resource';
	
	
	
	/**
	 * Contact email address for the Facebook application
	 * @var string
	 */
	$GLOBALS['CONTACT']['EMAIL'] = '';
	
	/**
	 * Base URI for the Library catalogue
	 * @var string
	 */
	$GLOBALS['CATALOGUE']['BASE_URI'] = 'http://library.leedsmet.ac.uk/';
	
	/**
	 * Search URI for the Library catalogue
	 * @var string
	 */
	$GLOBALS['CATALOGUE']['SEARCH_URI'] = '';
	
	/**
	 * Base path location for markup template files
	 * @var string
	 */
	$GLOBALS['TEMPLATES']['BASE_PATH'] = $_SERVER['DOCUMENT_ROOT'] . '/../include/apps/janus/resources/templates/';
	
	/**
	 * Full name for the application
	 * @var string
	 */
	$GLOBALS['BRANDING']['FULL_NAME'] = 'My Library Account - Leeds Met, JANUS Project';
	
	/**
	 * Short name for the application
	 * @var string
	 */
	$GLOBALS['BRANDING']['SHORT_NAME'] = '';
	
	// Namespaces for use in XML processing
	$GLOBALS['NAMESPACE']['ATOM_SYNDICATION_FORMAT'] = 'http://www.w3.org/2005/Atom';
	$GLOBALS['NAMESPACE']['ATOM_PUBLISHING_PROTOCOL'] = 'http://www.w3.org/2007/app';
	$GLOBALS['NAMESPACE']['JANGLE_VOCABULARY'] = 'http://jangle.org/vocab/';
	$GLOBALS['NAMESPACE']['DLF'] = 'http://diglib.org/ilsdi/1.0'; // Digital Library Federation
	
	
	//---- DATABASE CONFIG ----//
	/**
	 * Database to connect to
	 * @var string
	 */
	$GLOBALS['DATABASE']['CONNECTION'] = 'METDEV.leedsmet.ac.uk';

	/**
	 * Database user
	 * @var string
	 */
	$GLOBALS['DATABASE']['USER'] = 'lmet_my_user';
	
	/**
	 * Database password for the specified user
	 * @var string
	 */
	$GLOBALS['DATABASE']['PASSWORD'] = 'y0ur531f';


	//---- FACEBOOK CONFIG ----//
	/**
	 * Key required to access Facebook API for the application
	 * @var string
	 */
	$GLOBALS['FACEBOOK']['API_KEY'] = 'f7817036b10aefeef34c2df066c10703';
	
	/**
	 * Application ID to authenticate the app with Facebook
	 * @var string
	 */
	$GLOBALS['FACEBOOK']['ID'] = '148552081839186';
	
	/**
	 * Application secret to authenticate the app with Facebook
	 * @var string
	 */
	$GLOBALS['FACEBOOK']['SECRET'] = 'e7d51321958f3d4fbf96c41be22dfc0f';
	
	/**
	 * The page for the application on the Facebook site
	 * e.g. http://apps.facebook.com/your_app_here/
	 * @var string
	 */
	$GLOBALS['FACEBOOK']['CANVAS_PAGE'] = 'http://apps.facebook.com/jisc-leedsmet/';
?>